<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <!-- 去掉name属性, 能不能提交数据 -->
  <!-- 1. input没有name不能提交数据 -->
  <!-- 2. form表单当中 buttton可以触发submit事件 -->
  <form action="#">
    <div>
      <label>
        <span>账号: </span>
        <input type="text" value="qq11111" name="账号">
      </label>
    </div>

    <div>
      <label>
        <span>密码: </span>
        <input type="password" value="123123" name="密码">
      </label>
    </div>

    <button>提交</button>
    <!-- <input type="submit" value="提交"> -->
  </form>
</body>

</html>